package com.briup.jd2407cms.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.briup.jd2407cms.domain.Role;
import com.briup.jd2407cms.service.RoleService;
import com.briup.jd2407cms.mapper.RoleMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.web.bind.annotation.RequestMapping;

import java.util.List;

/**
* @author 王杰_
* @description 针对表【cms_role】的数据库操作Service实现
* @createDate 2024-11-20 10:31:04
*/
@Service
public class RoleServiceImpl extends ServiceImpl<RoleMapper, Role>
    implements RoleService{

    @Autowired
    RoleMapper roleMapper;
    public List<Role> list(){
        return roleMapper.selectList(null);
    }
}




